package com.example.java2024710;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RequestMapping("/Fu")
@RestController
public class Application {
    @RequestMapping("/username")
    //使用postman模拟浏览器发送请求，接收请求
    public String user(String username) {
        return "用户名："+ username;
    }
    @RequestMapping("/password")
    public String pass(String password) {
        return "密码："+password;
    }
    @RequestMapping("user")
    public String use(String username,String password) {
        return "用户名："+ username +" 密码："+password;
    }
    @RequestMapping("User")
    public String UserMange(UserManage user) {
        return "接收的参数"+user;
    }
}
